package com.syni.mdd.yhd.common.all.config;

/**
 * @className SwaggerTwoConfig
 * @description TOO
 * @Author cfx
 * @DATE 2019/7/21 9:39
 * @VERSION 1.0
 **/
/*@Configuration
public class Swagger2Config {
    @Bean
    public Docket createRestApi() {
        return new Docket(DocumentationType.SWAGGER_2)
                .apiInfo(apiInfo())
                .select()
                .apis(RequestHandlerSelectors.basePackage("com.syni.mdd.yhd.common.all.controller"))
                .paths(PathSelectors.any())
                .build();
    }

    private ApiInfo apiInfo() {
        return new ApiInfoBuilder()
                .title("电享生活api文档")
                .description("简单优雅的restfun风格，http://blog.csdn.net/saytime")
                .termsOfServiceUrl("http://blog.csdn.net/saytime")
                .version("1.0")
                .build();
    }
}*/
